<script src="{$base_dir}js/admin/AJAX_Medicine.js" type="text/javascript"></script>
<script type="text/javascript">
{literal}
    $(document).ready(function() {
    	activeMenu('65', '67');
        loadPage('medicinePageContent', '../Medicine/ListMedicine');
        $('.menu_item').click(function() {
        	$('.menu_item').removeClass('active');
        	$(this).addClass('active');
        });
    });
{/literal}
</script>

<div class='nav_left' style='width: 100%;'>
    <div class='nav_right'>
        <div class='nav_bg'>
            <a class="menu_item active" href="javascript:loadPage('medicinePageContent', '../Medicine/ListMedicine', '')">{translate}List of medicines{/translate}</a>
            <a class="menu_item" id="listMedDefUsageLink" href="javascript:loadPage('medicinePageContent', '../Medicine/ListMedicineDefUsage', '')">{translate}Usage{/translate}</a>            
            <a class="last menu_item" id="editMedicineLink" href="javascript:loadPage('medicinePageContent', '../Medicine/EditMedicine', '0')">{translate}Add new medicine{/translate}</a>            
        </div>
    </div>
</div>

<div id='medicinePageContent' style='display: none; width: 100%;'>
</div>